FrameRequestedNavigationEvent

data class FrameRequestedNavigationEvent(frameId: FrameId, reason: ClientNavigationReason, url: String, disposition: ClientNavigationDisposition) : Event

Fired when a renderer-initiated navigation is requested. Navigation may still be cancelled after the event is issued.

Constructors

FrameRequestedNavigationEvent
Link copied to clipboard
fun FrameRequestedNavigationEvent(frameId: FrameId, reason: ClientNavigationReason, url: String, disposition: ClientNavigationDisposition)

Functions

domain
Link copied to clipboard
open override fun domain(): String
Returns domain name for which event was generated.
eventName
Link copied to clipboard
open override fun eventName(): String
Returns event name as described in protocol.

Properties

disposition
Link copied to clipboard
val disposition: ClientNavigationDisposition
The disposition for the navigation.
frameId
Link copied to clipboard
val frameId: FrameId
Id of the frame that is being navigated.
reason
Link copied to clipboard
val reason: ClientNavigationReason
The reason for the navigation.
url
Link copied to clipboard
val url: String
The destination URL for the requested navigation.

Sources

jvm source
Link copied to clipboard